package com.farm.pojo.Vo;

import lombok.Data;

import java.util.Arrays;
import java.util.Date;
import java.util.List;

@Data
public class SpiderDataVo {

    private String name;

    private List<Double> lowestPrice;

    private List<Double> averagePrice;

    private List<Double> highestPrice;

    private String specification;

    private String unit;

    private List<String> publishTime;

    private List<String> yName = Arrays.asList("最低价", "最高价", "平均价");

    private Double maxValue;
    private Double minValue;

    public SpiderDataVo(String name,String specification, String unit) {
        this.name = name;
        this.specification = specification;
        this.unit = unit;
    }

}
